package net.sk.china.city.domain;

import java.time.LocalDate;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import net.sk.china.city.domain.dto.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 退款单对象 ar_refund
 * 
 * @author ruoyi
 * @date 2024-06-06
 */
@Data
public class ArRefund
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long pkId;

    /** 退款单号 */
    private Long refundNum;

    /** 订单金额 分 */
    private Long orderAmount;

    /** 退款金额 分 */
    private Long refundAmount;

    /** 退款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate refundDatetime;

    /** 订单id */
    private Long orderId;

    /** 操作人 */
    private Long operator;

    /** 备注 */
    private String remark;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("pkId", getPkId())
            .append("refundNum", getRefundNum())
            .append("orderAmount", getOrderAmount())
            .append("refundAmount", getRefundAmount())
            .append("remark", getRemark())
            .append("refundDatetime", getRefundDatetime())
            .append("orderId", getOrderId())
            .append("operator", getOperator())
            .toString();
    }
}
